#pragma once
#include"Abnormality.h"
#include "global.h"
#include "detection.h"
#include "save_item.h"

#include "cv.h"
#include "cxcore.h"
#include "highgui.h"

class Detection
{
protected:
	bool is_abnormal ;

	long abnormIndex;
public:
	Detection( ) ;
	virtual ~Detection( ) ; 
	virtual bool detect( IplImage * src ,  IplImage * marked , vector<Abnormality*>  & abnorm_list ) = 0 ;
};
